//
//  CZRefreshView.swift
//  SHWeibo2.0
//
//  Created by 黄礼潮 on 16/2/24.
//  Copyright © 2016年 黄礼潮. All rights reserved.
//

import UIKit
import HMRefresh

class CZRefreshView: UIView,HMRefreshViewDelegate {
    
    /// 下拉提示图像
  @IBOutlet  weak  var pulldownIcon: UIImageView?
    /// 刷新指示器
  @IBOutlet weak  var refreshIndicator: UIActivityIndicatorView?
    /// 提示标签
   @IBOutlet weak  var tipLabel: UILabel?
    /// 刷新时间标签
   @IBOutlet   weak  var timeLabel: UILabel?
   
    //类方法，返回XIB中做的图像
  class func refreshView()->CZRefreshView{
    
      let nib = UINib(nibName:"CZRefreshView", bundle: nil)
    
      return nib.instantiateWithOwner(nil, options: nil).last as! CZRefreshView
    }
}
